package com.xju.ikun.dao;

import com.xju.ikun.bean.MtypeBean;
import com.xju.ikun.bean.UserBean;
import com.xju.ikun.bean.UserlistBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    UserBean getUserInfo(@Param("username") String username, @Param("password") String password);
    UserBean findByUserid(int userid);
    List<UserBean> findAll();
    public int insertUserBean(UserBean userBean);
    public int deleteByPrimaryKey(int userid);
    public int updateByPrimaryKey(@Param("user_id") Integer userid, @Param("username") String username ,@Param("qq") String qq,@Param("email") String email,@Param("nick") String nick,@Param("tel") String tel);
}
